import request from '@/utils/request'

// 销售毛利列表--销售
export function querySalPurGrossList(data) {
  return request({
    url: '/tSalOrder/querySalPurGrossList',
    method: 'post',
    data
  })
}
// 销售采购报表
export function salePurchaseReport(data) {
  return request({
    url: '/tSaleOrder/report/salePurchaseReport',
    method: 'post',
    data
  })
}
// 销售单价报表
export function saleUnitPrice(data) {
  return request({
    url: '/tSaleOrder/report/saleUnitPrice',
    method: 'post',
    data
  })
}
// 销售价目一览表
export function querysalePriceList(data) {
  return request({
    url: '/tSalOrder/querysalePriceList',
    method: 'post',
    data
  })
}
// 销售毛利列表--内销
export function queryNXSalPurGrossList(data) {
  return request({
    url: '/tSalOrder/queryNXSalPurGrossList',
    method: 'post',
    data
  })
}
// 存货过账表
export function INVENTORY_info(params) {
  return request({
    url: '/hangong/STK/INVENTORY_info',
    method: 'get',
    params
  })
}
// 计划实际生产报表-财务报表
export function queryPrdPlanAndRealReport(data) {
  return request({
    url: '/prdReport/queryPrdPlanAndRealReport',
    method: 'post',
    data
  })
}
// 惠州销售报表
export function querySalesReport(data) {
  return request({
    url: '/tSalOrder/querySalesReport',
    method: 'post',
    data
  })
}
// 惠州采购报表
export function queryTPurPriceReport(data) {
  return request({
    url: '/tPurPricelist/queryTPurPriceReport',
    method: 'post',
    data
  })
}
// 材料采购报表
export function materialPurchase(data) {
  return request({
    url: '/tPurPoorder/report/materialPurchase',
    method: 'post',
    data
  })
}
// 包材价格
export function queryBatchPoorderPrice(data) {
  return request({
    url: '/tPurPoorder/queryBatchPoorderPrice',
    method: 'post',
    data
  })
}

// 其他出库平均价明细
export function queryAvgList(data) {
  return request({
    url: '/reporting/queryAvgList',
    method: 'post',
    data
  })
}
// 销售毛利列表--财务
export function querySalGrossList(data) {
  return request({
    url: '/tSalOutstock/querySalGrossList',
    method: 'post',
    data
  })
}
// 材料存货明细汇总表
export function queryStockTotalList(data) {
  return request({
    url: '/reporting/queryStockTotalList',
    method: 'post',
    data
  })
}
// 材料存货明细表
export function queryStockDetailsList(data) {
  return request({
    url: '/reporting/queryStockDetailsList',
    method: 'post',
    data
  })
}
// 成品进销存明细表汇总表
export function queryFinishTotalList(data) {
  return request({
    url: '/reporting/queryFinishTotalList',
    method: 'post',
    data
  })
}
// 成品进销存明细表
export function queryFinishDetailsList(data) {
  return request({
    url: '/reporting/queryFinishDetailsList',
    method: 'post',
    data
  })
}
// 销售成本明细表
export function querySalOrderCostList(data) {
  return request({
    url: '/tSalOrder/querySalOrderCostList',
    method: 'post',
    data
  })
}
// 销售成本明细表-向下展开
export function querySalDedailCostList(data) {
  return request({
    url: '/tSaleOrder/querySalDedailCostList',
    method: 'post',
    data
  })
}
// 销售成本明细表-导出
export function exportSalOrderCostList(data) {
  return request({
    url: '/tSaleOrder/exportSalOrderCostList',
    method: 'post',
    data
  })
}
// 收支校验报表
export function queryRevenueAndExpenditureReport(data) {
  return request({
    url: '/report/queryRevenueAndExpenditureReport',
    method: 'post',
    data
  })
}
// 车间在制盘点表
export function queryWorkshopWipList(data) {
  return request({
    url: '/reporting/queryWorkshopWipList',
    method: 'post',
    data
  })
}
// 成品配套入库表
export function queryFinishedWareList(data) {
  return request({
    url: '/reporting/queryFinishedWareList',
    method: 'post',
    data
  })
}
// 成本报表-生产领料
export function queryCostPrdPickmtrl(data) {
  return request({
    url: '/tFinCostCalculation/queryCostPrdPickmtrl',
    method: 'post',
    data
  })
}
// 成本报表-生产补料
export function queryCostPrdSupplement(data) {
  return request({
    url: '/tFinCostCalculation/queryCostPrdSupplement',
    method: 'post',
    data
  })
}
// 成本报表-生产退料
export function queryCostPrdReturnmtrl(data) {
  return request({
    url: '/tFinCostCalculation/queryCostPrdReturnmtrl',
    method: 'post',
    data
  })
}
// 成本报表-生产入库
export function queryCostPrdInstock(data) {
  return request({
    url: '/tFinCostCalculation/queryCostPrdInstock',
    method: 'post',
    data
  })
}
// 成本报表-委外领料
export function queryCostSubPickmtrl(data) {
  return request({
    url: '/tFinCostCalculation/queryCostSubPickmtrl',
    method: 'post',
    data
  })
}
// 成本报表-委外入库
export function queryCostSubInstock(data) {
  return request({
    url: '/tFinCostCalculation/queryCostSubInstock',
    method: 'post',
    data
  })
}
// 成本报表-委外退料
export function queryCostSubreturnmtrl(data) {
  return request({
    url: '/tFinCostCalculation/queryCostSubreturnmtrl',
    method: 'post',
    data
  })
}
// 成本报表-委外补料
export function queryCostSubsupplement(data) {
  return request({
    url: '/tFinCostCalculation/queryCostSubsupplement',
    method: 'post',
    data
  })
}
// 成本报表-组装拆卸单
export function queryCostStkDis(data) {
  return request({
    url: '/tFinCostCalculation/queryCostStkDis',
    method: 'post',
    data
  })
}
// 成本报表-物料编码移动平均价
export function queryMaterialAvgList(data) {
  return request({
    url: '/tFinCostCalculation/queryMaterialAvgList',
    method: 'post',
    data
  })
}
// 财务报表-销售应付
export function querySaleReceivableList(data) {
  return request({
    url: '/reporting/querySaleReceivableList',
    method: 'post',
    data
  })
}
// 财务报表-采购应付
export function queryPurchasePayableList(data) {
  return request({
    url: '/reporting/queryPurchasePayableList',
    method: 'post',
    data
  })
}
// 财务报表-费用报表
export function queryDepartment(data) {
  return request({
    url: '/reporting/queryDepartment',
    method: 'post',
    data
  })
}
// 财务报表-生产产成品明细
export function queryProductForm(data) {
  return request({
    url: '/reporting/queryProductForm',
    method: 'post',
    data
  })
}
// 销售报表-餐椅计划排单
export function querySaleOrder(data) {
  return request({
    url: '/reporting/querySaleOrder',
    method: 'post',
    data
  })
}
// 销售报表-餐台欠料一览表
export function queryDiningTable(data) {
  return request({
    url: '/reporting/queryDiningTable',
    method: 'post',
    data
  })
}
// 销售报表-餐椅计划排单详情
export function querySaleOrderDetail(data) {
  return request({
    url: '/reporting/querySaleOrderDetail',
    method: 'post',
    data
  })
}
// 计划报表-物料采购明细一览表
export function queryPurchase(data) {
  return request({
    url: '/reporting/queryPurchase',
    method: 'post',
    data
  })
}
// 计划报表-生产进度一览表
export function queryProduction(data) {
  return request({
    url: '/reporting/queryProduction',
    method: 'post',
    data
  })
}
// 计划报表-仓库备料一览表
export function queryWarehouse(data) {
  return request({
    url: '/reporting/queryWarehouse',
    method: 'post',
    data
  })
}
